//
//  BTWebService.h
//  BreadTrip
//
//  Created by Vivitickey on 2017/4/23.
//  Copyright © 2017年 test. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

@interface BTWebService : AFHTTPSessionManager

#pragma mark
#pragma mark - 单例
+ (instancetype)shareNetworkTool;

#pragma mark
#pragma mark - get方法
- (void)GETWithUrlString:(NSString *)urlString parameters:(id)parameters success:(void(^)(id responseObject))successBlock failure:(void(^)(NSError *error))failureBlock;

#pragma mark
#pragma mark - post方法
- (void)POSTWithUrlString:(NSString *)urlString parameters:(id)parameters success:(void(^)(id responseObject))successBlock failure:(void(^)(NSError *error))failureBlock;

@end
